﻿using OneP.InfinityScrollView;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class GamehallRoomItem : InfinityBaseItem
{
    public Text button;
    /// <summary>
    /// 每克隆一个预制体都会在该方法进行初始化 ,_index代表每一个item的下标值；
    /// </summary>
    /// <param name="_infinity"></param>
    /// <param name="_index"></param>
    public override void Reload(InfinityScrollView _infinity, int _index)
    {
        base.Reload(_infinity, _index);
        Debug.Log(_index);
        button.text = "点击会有Debug";                         
    }
    
    public void InviteFrends()
    {        
    }
 }
